package com.lizhi.menu.common.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author lizhi
 * @description IdQuery
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IdQuery {

    @NotNull(message = "id不能为空")
    private Integer id;
}
